/**
 * Created by 37500 on 2017/8/24.
 */
import React from 'react';
import { render } from 'react-dom';
import inject from 'react-tap-event-plugin';

inject();

import {  
  BrowserRouter as Router,
  Route,
  Link 
} from 'react-router-dom';

import './app/sass/app.scss';

import App from './app/page/index.jsx';
import { TodoList } from './app/components/test.jsx';

render((
    <Router basename="/app.html">
      <div className="content-box">
        <Route exact path='/' component={ TodoList } />
        <Route path='/xixi' component={ App } />
      </div>
    </Router>
), document.querySelector('#root'));